package com.lion.ball.app.models.params.order;

import java.sql.Timestamp;
import java.sql.Timestamp;

/**
 * @author Chris Chan
 * Create on 2025-10-18 01:16
 * Use for: 订单商品 数据排序参数
 * Explain:
 * 
 */
public class OfdOrderFoodOrderParam {
    // 主键
    private int id;
    // 编码
    private int code;
    // 订单编码
    private int orderCode;
    // 食品SKU编码
    private int foodSkuCode;
    // 食品数量
    private int count;
    // 创建时间
    private int createTime;
    // 更新时间
    private int updateTime;
    // 是否删除 0 - 未删除 1 - 已删除
    private int isDeleted;

    // 无参构造方法
    public OfdOrderFoodOrderParam() {
    }

    // 全参数构造方法
    public OfdOrderFoodOrderParam(int id, int code, int orderCode, int foodSkuCode, int count, int createTime, int updateTime, int isDeleted) {
        this.id = id;
        this.code = code;
        this.orderCode = orderCode;
        this.foodSkuCode = foodSkuCode;
        this.count = count;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDeleted = isDeleted;
    }

    // 全参数create生成器
    public static OfdOrderFoodOrderParam create(int id, int code, int orderCode, int foodSkuCode, int count, int createTime, int updateTime, int isDeleted) {
        return new OfdOrderFoodOrderParam(id, code, orderCode, foodSkuCode, count, createTime, updateTime, isDeleted);
    }

    // 全参数of生成器
    public static OfdOrderFoodOrderParam of(int id, int code, int orderCode, int foodSkuCode, int count, int createTime, int updateTime, int isDeleted) {
        return new OfdOrderFoodOrderParam(id, code, orderCode, foodSkuCode, count, createTime, updateTime, isDeleted);
    }
    // region Getter和Setter方法
    public int getId() {
        return id;
    }

    public OfdOrderFoodOrderParam setId(int id) {
        this.id = id;
        return this;
    }

    public int getCode() {
        return code;
    }

    public OfdOrderFoodOrderParam setCode(int code) {
        this.code = code;
        return this;
    }

    public int getOrderCode() {
        return orderCode;
    }

    public OfdOrderFoodOrderParam setOrderCode(int orderCode) {
        this.orderCode = orderCode;
        return this;
    }

    public int getFoodSkuCode() {
        return foodSkuCode;
    }

    public OfdOrderFoodOrderParam setFoodSkuCode(int foodSkuCode) {
        this.foodSkuCode = foodSkuCode;
        return this;
    }

    public int getCount() {
        return count;
    }

    public OfdOrderFoodOrderParam setCount(int count) {
        this.count = count;
        return this;
    }

    public int getCreateTime() {
        return createTime;
    }

    public OfdOrderFoodOrderParam setCreateTime(int createTime) {
        this.createTime = createTime;
        return this;
    }

    public int getUpdateTime() {
        return updateTime;
    }

    public OfdOrderFoodOrderParam setUpdateTime(int updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public int getIsDeleted() {
        return isDeleted;
    }

    public OfdOrderFoodOrderParam setIsDeleted(int isDeleted) {
        this.isDeleted = isDeleted;
        return this;
    }

    // endregion Getter和Setter方法
}
